package com.wt.springsamples.model.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class MenuTreeNode implements Serializable {

    private Long   id;
    private String name;
    private Long pid;

    List<MenuTreeNode> children = new ArrayList<>();
}
